/**
 * @project_name extjs4
 * @package_name com.gxwz.extjs.model
 * @file_name Dept.java
 */
package com.gxwz.extjs.model;

import java.util.HashSet;
import java.util.Set;

/**
 * @author chendequan
 * @email: 1527254027@qq.com
 * @Time: 2013-9-8 下午02:50:45
 * 
 */
public class Dept {
	private String text;
	private String id;
	private boolean cheked;
	private boolean leaf;
	private Set<Dept> children = new HashSet<Dept>();

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public boolean isCheked() {
		return cheked;
	}

	public void setCheked(boolean cheked) {
		this.cheked = cheked;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

	public Set<Dept> getChildren() {
		return children;
	}

	public void setChildren(Set<Dept> children) {
		this.children = children;
	}

}
